/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-03-20 22:30:47
 * @LastEditors: TT
 * @LastEditTime: 2023-05-15 08:51:01
 */

import 'package:flutter/material.dart';
import 'package:hzy_common_module/hzy_common_module.dart';

class DemoPage extends StatefulWidget {
  const DemoPage({super.key});

  @override
  State<StatefulWidget> createState() {
    return DemoPageState();
  }
}

class DemoPageState extends HzyBaseState<DemoPage> {
  @override
  Widget createBody({BoxConstraints? constraints}) {
    Widget body = Container();
    body = configGridImageWidget();
    return body;
  }

  configGridImageWidget() {
    Widget body = CommonGirdImageV(
      crossAxisCount: 4,
      mainAxisSpacing: 6,
      crossAxisSpacing: 6,
    );
    body = Padding(
      padding: const EdgeInsets.all(10),
      child: body,
    );
    return body;
  }
}
